<template>
	<info-list :dataList="dataList" jumpAddress="queryLaw" :keyword="keyword"></info-list>
</template>

<script>
	import infoList from "@/components/info-list/info-list";
	export default {
		// 违法列表
		name: "lawList",
		components:{
			infoList
		},
		data() {
			return {
				dataList:[],
				keyword:''
			}
		},
		onLoad(event) {
			this.$_getDataList();
			this.keyword = event.keyword.toString()
		},
		methods: {
			$_getDataList(){
				let data1 = [{
					belongRiver:{name:"所属河道",value: '长江'},
					belongReach: {name:"所属河段",value: '湘江'},
					lawType: {name:"违法类型",value: '一般违法'},
					uploadAdmin: {name:"上传人",value: 'admin'},
					uploadTime: {name:"上传时间",value: '2019-12-30'},
					source: {name:"来源",value: "群众举报"},
					dispose:{name:"处理办法",value: ""},
					lawTime: {name:"违法日期",value: "2019-12-24"},
					lawDesc: {name:"违法描述",value: ""},
				}]
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				
			}
		}
	}
</script>

<style>

</style>
